package org.springblade.modules.platform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * <p>
 *
 * </p>
 *
 * @author SYG
 * @since 2022-11-29
 */
@TableName("measuring_point_table")
@Data
public class MeasuringPointTable extends Model<MeasuringPointTable> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private Integer id;

    /**
     * 采集时间
     */
    @ApiModelProperty(value = "主键ID")
    private Long gatherTime;

    /**
     * 1:定时采集；2：手动采集
     */
    @ApiModelProperty(value = "1:定时采集；2：手动采集")
    private Integer gatherEvent;

    /**
     * 测量链编号
     */
    @ApiModelProperty(value = "测量链编号")
    private Long measurChainCode;

    /**
     * 测量链
     */
    @ApiModelProperty(value = "测量链")
    private String measurChain;

    /**
     * 测量链方向
     */
    @ApiModelProperty(value = "测量链方向")
    private Integer measurChainDirection;

    /**
     * 测量链方向
     */
    @ApiModelProperty(value = "测量链方向")
    private String measurChainDirectionName;

    /**
     * 测台类型
     */
    @ApiModelProperty(value = "测台类型")
    private Integer benchTypeCode;

    /**
     * 测台类型名称
     */
    @ApiModelProperty(value = "测台类型名称")
    private String benchTypeName;

    /**
     * 部门名
     */
    @ApiModelProperty(value = "测台")
    private String deptName;

    /**
     * 部门名
     */
    @ApiModelProperty(value = "测台")
    private Long deptId;

    /**
     * 设备ID
     */
    @ApiModelProperty(value = "设备ID")
    private String deviceId;

    /**
     * 设备名称
     */
    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    /**
     * 数据类型
     */
    @ApiModelProperty(value = "数据类型")
    private String propertieId;


    /**
     * 数据类型名称
     */
    @ApiModelProperty(value = "数据类型名称")
    private String propertieName;



    /**
     * 一次量数据
     */
    @ApiModelProperty(value = "一次量数据")
    private Integer onceValue;

    /**
     * 添加时间
     */
    @ApiModelProperty(value = "添加时间")
    private Long insertTime;
    @ApiModelProperty("真空泵气压值")
    private BigDecimal rietschlePressure;
    @ApiModelProperty("采集标识")
    private String acquisitionFlag;
}
